<?php

namespace designpatterns\factory\other;

use designpatterns\factory\Shape;

class Circle implements Shape
{
    private $radius;

    public function __construct($radius)
    {
        var_dump(2);
        $this->radius = $radius;
    }

    public function draw()
    {
        echo "Drawing a circle with radius " . $this->radius . "<br>";
    }
}